<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head th:include="include :: header"></head>
<body class="hold-transition skin-blue sidebar-mini">
<section class="content-header">
    <h1>机加工时确认单查看</h1>
</section>
<section class="content">
    <div class="row">
        <form id="sheetForm" class="form-horizontal">
            <div class="col-xs-11 col-xs-offset-1">
                <input type="hidden" name="reportType" value="1">
                <table class="t1 t3">
                    <thead>
                    <tr>
                        <td colspan="13">
                            <img th:src="@{/img/logo3.jpg}" width="64px" height="40px" style="margin-top: -30px">
                            <div style="display: inline-block;margin-top: 5px;margin-left: 20px">
                                <span style="letter-spacing: 24px;display: block;line-height: 20px">&nbsp;辽宁忠旺机械设备制造有限公司</span>
                                <span style="display: block;font-size: 12px;line-height: 20px">Liaoning Zhongwang Machinery Equipment Manufacturing Co., Ltd</span>
                            </div>
                        </td>
                        <td style="width: 8%"></td>
                    </tr>
                    <tr>
                        <td colspan="13" style="font-size: 16px;letter-spacing: 4px;">
                            机加工时计划单
                        </td>
                        <td></td>
                    </tr>
                    <tr>
                        <td colspan="2" style="width: 8%">项目编号</td>
                        <td style="width: 11%;font-size: 14px;">
                            <input id="sheetForm-proCode" class="form-control" name="proCode" th:value="${cosSheet.proCode}" readonly></input>
                        </td>
                        <td style="width: 8%">项目名称</td>
                        <td colspan="3" style="width: 21%">
                            <input id="sheetForm-proName" type="text" class="form-control" name="proName" th:value="${cosSheet.proName}" readonly>
                        </td>
                        <td style="width: 8%">项目数量</td>
                        <td style="width: 6%">
                            <input id="sheetForm-proNum" type="number" class="form-control" name="proNum" th:value="${cosSheet.proNum}" readonly>
                        </td>
                        <td style="width: 6%">类型</td>
                        <td style="width: 9%">
                            <input th:value="${cosSheet.special}" class="form-control" readonly>
                        </td>
                        <td style="width: 6%">部分</td>
                        <td style="width: 12%">
                           <input readonly class="form-control" th:value="${cosSheet.proPart}">
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 4%">序号</td>
                        <td colspan="2">图号</td>
                        <td colspan="3">图名</td>
                        <td style="width: 6%">数量</td>
                        <td colspan="1">工序</td>
                        <td colspan="2">设备</td>
                        <td colspan="1">工时</td>
                        <td colspan="2">备注</td>
                        <td></td>
                    </tr>
                    </thead>
                    <tbody id="out">
                    <tr th:each="cosMachiningDetail:${cosMachiningDetail}" >
                        <td th:text="${cosMachiningDetailStat.count}">1</td>
                        <td colspan="2">
                            <input style="text-align:left;" type="text" class="form-control" name="drawNo" autocomplete="off" th:value="${cosMachiningDetail.drawNo}" readonly>
                        </td>
                        <td colspan="3">
                            <input type="text" class="form-control" name="drawName" autocomplete="off" th:value="${cosMachiningDetail.drawName}" readonly>
                        </td>
                        <td colspan="1">
                            <input type="number" class="form-control" name="drawNum" autocomplete="off" th:value="${cosMachiningDetail.drawNum}" readonly>
                        </td>
                        <td colspan="1">
                            <input type="text" class="form-control" name="process" autocomplete="off" th:value="${cosMachiningDetail.process}" readonly>
                        </td>
                        <td colspan="2">
                            <input type="text" class="form-control" name="equName" autocomplete="off" th:value="${cosMachiningDetail.equName}" readonly>
                        </td>
                        <td colspan="1">
                            <input type="number" step="0.1"   class="form-control" name="quantity" autocomplete="off" readonly th:value="${cosMachiningDetail.quantity}">
                        </td>
                        <td colspan="2">
                            <input type="text" class="form-control" name="remark" autocomplete="off" th:value="${cosMachiningDetail.remark}" readonly>
                        </td>
                        <td>
                            <!--<span class="out-add" title="添加"><i class="fa fa-plus text-info"></i> </span>-->
                            <!--<span class="out-del" title="删除"><i class="fa fa-remove text-red"></i> </span>-->
<!--                            <span class="out-upload" title="上传附件"><i class="fa fa-upload text-success"></i> </span>-->
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div>
            <div class="col-xs-10 col-xs-offset-1" style="font-size: 14px;line-height: 200%;">
                <div class="col-xs-3" style="padding-left: 0">提报人：[[${cosSheet.createName}]]&nbsp;&nbsp;[[${#dates.format(cosSheet.createTime,'yyyy.MM.dd')}]]</div>
                <div class="col-xs-3">
                    审核：[[${cosSheet.verifyName}]]&nbsp;&nbsp;[[${#dates.format(cosSheet.verifyTime,'yyyy.MM.dd')}]]
                </div>
                <!--<div class="col-xs-3" style="padding-left: 0">提报人： [[${session.user.name}]]</div>-->
                <!--<div class="col-xs-3 bottom form-inline">联系电话：-->
                    <!--<input class="form-control" style="width:60%;border: none;border-bottom: 1px solid #000;" type="text" name="postTel">-->
                <!--</div>-->
            </div>
        </form>
    </div>
<!--
    <div th:include="include :: tip"></div>
-->
</section>
<div th:include="include :: footer"></div>

<script th:src="@{/plugin/SheetJs/xlsx.core.min.js}"></script>
<script th:inline="javascript">


</script>
</body>
</html>
